package com.zcf.pojo;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 代理抽成表
 * </p>
 *
 * @author loupeng
 * @since 2018-12-25
 */
public class Percentage extends Model<Percentage> {

	private static final long serialVersionUID = 1L;

	@TableId(value = "percentage_id")
	private String percentageId;
	private String userId;
	private Integer proportion;
	private String region;
	private String addtime;

	public String getAddtime() {
		return addtime;
	}

	public void setAddtime(String addtime) {
		this.addtime = addtime;
	}

	public String getPercentageId() {
		return percentageId;
	}

	public void setPercentageId(String percentageId) {
		this.percentageId = percentageId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Integer getProportion() {
		return proportion;
	}

	public void setProportion(Integer proportion) {
		this.proportion = proportion;
	}

	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	@Override
	protected Serializable pkVal() {
		return this.percentageId;
	}

	@Override
	public String toString() {
		return "Percentage{" + "percentageId=" + percentageId + ", userId=" + userId + ", proportion=" + proportion
				+ ", region=" + region + "}";
	}
}
